﻿<Page x:Class="Framework_Tool.StaffLogin"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d"
	Title="StaffLogin" Height="547" Width="1042">
    <Grid x:Name="mainContent">
        <Border BorderBrush="#FF311E51" BorderThickness="3" CornerRadius="30" Width="1042" Height="547" VerticalAlignment="Top" HorizontalAlignment="Left">
            <Grid>
                <Border Name="mask" CornerRadius="27" >
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF311E51" Offset="0"/>
                            <GradientStop Color="#FF594F6B" Offset="1"/>
                        </LinearGradientBrush>
                    </Border.Background>
                </Border>
                <Button x:Name="stfPicBtn" Margin="250,150,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Height="180" Width="200" Click="stfPicBtn_Click_1" BorderThickness="4" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Visibility="Hidden">
                    <Image Source="C:\Users\Gems\Documents\Computing\CSY4010\Framework_Tool\Images\stf_login.gif" />
                </Button>
                <Button x:Name="staffLoginPageBtn" Content="Staff Login" Margin="200,370,0,0" Foreground="White"  VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="30" Width="300" FontWeight="Bold" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="staffLoginPageBtn_Click_1" Visibility="Hidden"/>
                <Button x:Name="stdtPicBtn" Margin="600,150,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Height="180" Width="200" Click="stdtPicBtn_Click_1" BorderThickness="4" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Visibility="Hidden" >
                    <Image Source="C:\Users\Gems\Documents\Computing\CSY4010\Framework_Tool\Images\student_login.gif" />
                </Button>
                <Button x:Name="stdtLoginPageBtn" Content="Student Login" Margin="550,370,0,0" Foreground="White"  VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="30" Width="300" FontWeight="Bold" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="stdtLoginPageBtn_Click_1" Visibility="Hidden" />
                <Image Source="C:\Users\Gems\Documents\Computing\CSY4010\Framework_Tool\Images\stf_login.gif" Height="129" Width="143" Margin="0,30,30,0" HorizontalAlignment="Right" VerticalAlignment="Top" x:Name="stfLoginIcon" />
                <Label x:Name="staffLogin" Content="Staff login" Margin="150,111,0,0" Height="52" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" Width="183" FontSize="30" RenderTransformOrigin="-0.551,0.513" />
                <Label x:Name="stfID" Content="Staff ID number" Margin="150,190,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" RenderTransformOrigin="-0.551,0.513" FontSize="16" />
                <Grid Margin="320,190,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" x:Name="stfUsernameTxtGrid">
                    <Border BorderBrush="#FF28B5D3" HorizontalAlignment="Left" Width="400" CornerRadius="15" Background="White" />
                    <TextBox x:Name="stfUsernameTxt" HorizontalAlignment="Left" Height="40" TextWrapping="Wrap" VerticalAlignment="Top" Width="400" FontSize="20" BorderBrush="{x:Null}" Background="Transparent" Margin="0,0,0,0" VerticalContentAlignment="Center" FocusVisualStyle="{x:Null}" />
                </Grid>
                <Label x:Name="password" Content="Password" Margin="150,250,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="16" RenderTransformOrigin="-0.551,0.513" />
                <Grid Margin="320,250,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" x:Name="stfPasswordTxtGrid">
                    <Border BorderBrush="#FF28B5D3" HorizontalAlignment="Left" Width="400" CornerRadius="15" Background="White" />
                    <PasswordBox x:Name="stfPasswordTxt" HorizontalAlignment="Left" Height="40" VerticalAlignment="Top" Width="400" FontSize="20" BorderBrush="{x:Null}" Background="Transparent" VerticalContentAlignment="Center" />
                </Grid>
                <Grid Margin="532,310,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" x:Name="stfLoginBtnGrid">
                    <Border BorderBrush="#FF28B5D3" BorderThickness="1" HorizontalAlignment="Left" Height="50"  Width="182" CornerRadius="12">
                        <Border.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF28B5D3" Offset="0.406"/>
                                <GradientStop Color="White"/>
                            </LinearGradientBrush>
                        </Border.Background>
                    </Border>
                    <Button Content="Login" x:Name="stfLogin" FontSize="25" Height="50" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Foreground="White" Width="182" Click="stfLogin_Click" Focusable="False" OverridesDefaultStyle="True" />
                </Grid>
                <Grid Margin="560,420,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" x:Name="studentLoginBtnGrid">
                    <Border BorderBrush="#FFC8C8C8" BorderThickness="1" HorizontalAlignment="Left" Height="40"  Width="150" CornerRadius="12">
                        <Border.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FFC8C8C8" Offset="0.406"/>
                                <GradientStop Color="White"/>
                            </LinearGradientBrush>
                        </Border.Background>
                    </Border>
                    <Button Content="Student Login" x:Name="studentLogin" FontSize="20" Height="40" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Foreground="Black" Width="150" Focusable="False" SnapsToDevicePixels="True" Click="studentLogin_Click_1" />
                </Grid>
            </Grid>
        </Border>
    </Grid>
</Page>
